package com.scs.application.modules.wm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.FlowEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import com.scs.application.modules.upgrade.db.enums.EntityFieldType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
/**
 */
@Data
@Accessors(chain = true)
@EntityClassAnnotation(remark = "跟台手术备货表")
@TableName("wm_oprt_prepare")
public class OprtPrepare extends FlowEntity {


    // id ,在父类中处理

    @EntityFieldAnnotation(
            text = "备货单号",
            length = "255",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String prepareKey;
    @EntityFieldAnnotation(
            text = "手术备货申请单id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String oprtApplyId;
    @EntityFieldAnnotation(
            text = "手术备货申请单号",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String oprtApplyKey;

    @EntityFieldAnnotation(
            text = "单据类型",
            length = "20",
            not_null = false,
            default_value = "0",
            comment = ""
    )
    private String prepareType;

    @EntityFieldAnnotation(
            text = "备货日期",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Date prepareDate;

    @EntityFieldAnnotation(
            text = "库存地ID",
            type = EntityFieldType.LONG,
            length = "",
            not_null = true,
            default_value = "",
            comment = "库存地ID"
    )
    private String warehouseId;

    @EntityFieldAnnotation(
            text = "库存地全称",
            length = "100",
            not_null = false,
            default_value = "",
            comment = "库存地全称"
    )
    private String warehouseName;

    @EntityFieldAnnotation(
            text = "备货申请仓库ID（手术间）",
            type = EntityFieldType.LONG,
            length = "",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String warehouseIdFrom;

    @EntityFieldAnnotation(
            text = "备货申请仓库名称（手术间）",
            length = "50",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String warehouseNameFrom;

    @EntityFieldAnnotation(
            text = "手术单ID",
            length = "50",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String oprtId;

    @EntityFieldAnnotation(
            text = "手术名称",
            length = "50",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String oprtName;

    @EntityFieldAnnotation(
            text = "手术单号",
            length = "50",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String oprtCode;

    @EntityFieldAnnotation(
            text = "手术日期",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Date oprtDate;

    @EntityFieldAnnotation(
            text = "患者id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String patientId;

    @EntityFieldAnnotation(
            text = "患者名称",
            length = "20",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String patientName;

    @EntityFieldAnnotation(
            text = "患者年龄",
            length = "10",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String patientAge;

    @EntityFieldAnnotation(
            text = "住院编号",
            length = "50",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String patientNo;

    @EntityFieldAnnotation(
            text = "床位号",
            length = "50",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String bedNo;

    @EntityFieldAnnotation(
            text = "主治医生",
            length = "20",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String docNameSug;

    @EntityFieldAnnotation(
            text = "申请医生",
            length = "20",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String docNameApply;

    @EntityFieldAnnotation(
            text = "备注",
            length = "200",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String remark;
    // flowStatus   在父类中处理;


    // flowModified   在父类中处理;


    //flowModifier  在父类中处理;


    // creator ,在父类中处理


    // gmt_create ,在父类中处理


    // modifier ,在父类中处理


    // gmt_modified ,在父类中处理

}
